package com.quarkus.cloud.domain.entity;


import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author zhuhb-a
 */
@Data
@Entity(name = "t_user")
public class User implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Id
    private Long id;

    private String name;

    private String address;

    private Integer age;

    private String password;

}
